<#include "/includes/header.ftl">
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
	<TD width="160" height="100" valign="top"><#include "includes/leftbar.ftl"></TD>	
	<TD valign="top" width="90%">
	<#-- Main Content-->
		<table width="100%" border="0">
		  <tr>
		    <th colspan="6" align='center'>专员推荐</th>
		  </tr>
		  <tr>
		    <th colspan="6" align='right'><hr></th>
		  </tr>
		  <#if myRecommender?has_content>
			  <tr>
			    <th colspan="3" align='right'><IMG src='IMAGES/USER/USER_SMALL_DEFAULT.PNG'></th>
			    <th colspan="3" align='left'>${myRecommender.user.nickName?default("No-NickName")}<br>Email:${myRecommender.user.userId?default("No-UserId")}<br>QQ:15317227<br>MSN:consnso@soso.com<br>Tel:2393939<br>Fax:2393939</th>
			  </tr>
			</#if>
				
				
		  <#if myself?has_content>
			  <tr>
			    <th colspan="3" align='right'><IMG src='IMAGES/USER/USER_SMALL_DEFAULT.PNG'></th>
			    <th colspan="3" align='left'>${myself.nickName?default("No-NickName")}<br>Email:${myself.userId?default("No-UserId")}<br>QQ:15317227<br>MSN:consnso@soso.com<br>Tel:2393939<br>Fax:2393939</th>
			  </tr>
			</#if>
			<#if myRecommendeeList?has_content>
			  <tr>
			  	<#list myRecommendeeList as u2u>
				    <th align='center' valign="top"><IMG src='IMAGES/USER/USER_SMALL_DEFAULT.PNG'><br>${u2u.user2.userId?default("No-UserId")}<br>QQ:15317227<br>MSN:consnso@soso.com<br>Tel:2393939<br>Fax:2393939</th>
			    </#list>
			    <#list 6..myRecommendeeListSize as x>
			    	<th align='center' valign="top"><IMG src='IMAGES/USER/USER_SMALL_DEFAULT.PNG'><br>Available</th>
			    </#list>			    
			  </tr>
			<#else>  
			    <#list 6..0 as x>
			    	<th align='center' valign="top"><IMG src='IMAGES/USER/USER_SMALL_DEFAULT.PNG'><br>Available</th>
			    </#list>			    
		  </#if>
		  
		  <#if myRecommendeeListSize lt 7>
			  <tr>
			    <th colspan="6" align='right'><hr></th>
			  </tr>
			  <tr>
			    <th colspan="6" align='center'>
			    	<FORM action='<@spring.url "/addmyrecommendservant.asp"/>' method="get">
			    		你还可以推荐${7-myRecommendeeListSize}个服务专员，指定专员电邮地址：<INPUT type="text" name="userId" value="${userId?default("")}" size="32"><INPUT type="submit" name="submit" value="提交">
			    		<br><font color="red">请仔细填写指定专员的电子邮件地址，一经确认后不能修改。</font>
			    	</FORM>
			    </th>
			  </tr>
			  <#if hasRecommender?has_content>
				  <tr>
				    <th colspan="6" align='center'><font color="red">${userId?default("")}已经有推荐人!</font></th>
				  </tr>
				<#elseif userId?has_content>  
				  <tr>
				    <th colspan="6" align='center'><font color="red"><b>${userId?default("")}不存在!</b></font></th>
				  </tr>
			  </#if>
			</#if>
  </table>	
	<#-- /Main Content-->
	</TD>	
	<TD valign="top"><#include "/includes/rightbar.ftl"></TD>
</TR>
</TABLE>

<#include "/includes/footer.ftl">